MIDIStop
(Method)
Purpose: Stops Playback of a MIDI-file.
Syntax: CtlName.MIDIStop
Arguments: None.
Example:
Private Sub
Command1_Click()
____'Play a
MIDI-file
____SoundCard1.MIDIPlay
"C:\Windows\Media\Passport.mid"
End Sub
Private Sub
Command2_Click()
____'Turn
it off again
____SoundCard1.MIDIStop
End Sub
Comments: If MIDIOutput was open before MIDIPlay it will be reopened. The MIDIPlayComplete Event will not fire with MIDIStop.
See Also:
MIDIPlay